<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Why no sieve support (Vacation, Forwarding) in SOGo Groupware</title>
        <link rel="stylesheet" type="text/css" href="./css/markdown.css" />
    </head>
    <body>

    <div id="navigation">
    <a href="https://www.iredmail.org" target="_blank">
        <img alt="iRedMail web site"
             src="./images/logo-iredmail.png"
             style="vertical-align: middle; height: 30px;"
             />&nbsp;
        <span>iRedMail</span>
    </a>
    &nbsp;&nbsp;//&nbsp;&nbsp;<a href="./index.html">Document Index</a></div><h1 id="why-no-sieve-support-vacation-forwarding-in-sogo-groupware">Why no sieve support (Vacation, Forwarding) in SOGo Groupware</h1>
<p>The situations:</p>
<ul>
<li>If you chose to install both Roundcube webmail and SOGo Groupware during
  iRedMail installation, sieve support is enabled in only Roundcube webmail.</li>
<li>If you chose to install SOGo Groupware and no Roundcube, sieve support
  is enabled in SOGo out of box.</li>
</ul>
<p>The syntax/format of sieve rules generated by them are not compatible
with each other, so iRedMail enables sieve support in Roundcube webmail and
disables it in SOGo.</p>
<div class="admonition warning">
<p class="admonition-title">Pitfalls you should know</p>
<ul>
<li>On SOGo web UI, the sieve rules are read from its SQL database directly,
  not get from managesieve server. So if you modify the sieve rules by
  editing the sieve file on file system manually, you will lose the
  modification next time you update sieve rules from SOGo web UI.</li>
<li>SOGo stores sieve rules in its SQL database first, then dump the rules to
  mail server (by managesieve service listening on <code>127.0.0.1:4190</code>).</li>
</ul>
</div>
<p>If you want to enable sieve support in SOGo, please enable parameters below
(by removing the comment mark <code>//</code> at the beginning of lines below) in SOGo
config file (<code>/etc/sogo/sogo.conf</code>):</p>
<pre><code>    SOGoSieveServer = sieve://127.0.0.1:4190/?tls=YES;
    SOGoSieveScriptsEnabled = YES;
    SOGoVacationEnabled = YES;
    SOGoForwardEnabled = YES;
</code></pre>
<p>To disable sieve support in Roundcube, you can simply remove plugin name
<code>managesieve</code> from its config parameter <code>$config['plugins'] =</code>.</p><div class="footer">
    <p style="text-align: center; color: grey;">All documents are available in <a href="https://github.com/iredmail/docs/">GitHub repository</a>, and published under <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">Creative Commons</a> license. You can <a href="https://github.com/iredmail/docs/archive/master.zip">download the latest version</a> for offline reading. If you found something wrong, please do <a href="https://www.iredmail.org/contact.html">contact us</a> to fix it.</p>
</div></body></html>